package com.xmy.cultivate.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum ReadingStatusEnum {

    //1在读，2转课（转出），3退费，4停课，5结课

    NO(0,"预分班"),//预分班
    IN_READING(1,"在读"),
    TURN(2,"调班转出"),
    RETREAT(3,"退费"),
    STOP(4,"停课"),
    FINISH(5,"结课"),
    FINISHGRADE(6,"结班");


    @EnumValue
    private Integer key;

    @JsonValue
    private String value;

    ReadingStatusEnum(Integer key, String value){
        this.key = key;
        this.value = value;
    }
}
